package com.nervenets.shopping.hibernate.domain.order;

import com.nervenets.general.hibernate.DomainObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@EqualsAndHashCode(callSuper = true)
@Entity
@Table
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class BonusSharingItem extends DomainObject {
    @ManyToOne
    private BonusSharing bonusSharing;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "是否完成")
    private boolean finished;
}
